#ifndef STATIC_SPRITE_HPP
#define STATIC_SPRITE_HPP

#include <QtGui>
#include <QGraphicsWidget>
#include <QGraphicsScene>

class StaticSprite : public QGraphicsItem
{	
	public:
			StaticSprite(QPixmap *pixmap, QGraphicsScene* scene = 0, double transparent = 1.);
			virtual ~StaticSprite();
			
			void 	paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
			QRectF 	boundingRect() const;
			void 	setPixmap(QPixmap*	pixmap);
			void 	setTransparent(bool val);
		
	private:
			QPixmap*	pixmap;
			double	opacity;
			bool 	is_transparent;
};

#endif
